package com.hqj.service;

import com.hqj.dao.AreaDao;
import com.hqj.entity.Area;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AreaServiceI implements BaseService<Area> {
    @Autowired
    private AreaDao ad;

    @Override
    public List<Area> find(Area area) {
        List<Area> list = ad.find(area);
        return list;
    }

    @Override
    public Area get(Area area) {
        return null;
    }

    @Override
    public Map<String, Object> add(Area area) {
        return null;
    }

    @Override
    public Map<String, Object> edit(Area area) {
        return null;
    }

    @Override
    public Map<String, Object> remove(int id) {
        return null;
    }
}
